home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 February
/
EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso
/
progs
/
editor
/
frexxed
/
fpl
/
simplediff.fpl
< prev
next >
Wrap
Text File
|
1995-07-18
|
458b
|
27 lines
export int SimpleDiff()
{
int inputid=GetEntryID(); // Current entry
int nextview=NextView();
string line;
int diff;
Visible(0);
do {
CurrentBuffer(inputid);
if (!CursorDown()) {
return;
}
line=GetLine();
CurrentBuffer(nextview);
CursorDown();
diff=strcmp(GetLine(), line);
} while (!diff);
Visible(1);
if (diff)
InverseLine();
CurrentBuffer(inputid);
}
AssignKey("SimpleDiff();", "Alt '0x2e'");